home *** CD-ROM | disk | FTP | other *** search
/ Popular Request / By Popular Request (Arsenal Computer)(SysOptics Distribution System).ISO / misc_2 / msdos6.tec < prev    next >
Text File  |  1993-04-02  |  19KB  |  364 lines

  1. ID:D6 MS-DOS 6 and Quarterdeck Products
  2. Quarterdeck Technical Note #166
  3. by Bill Burge
  4. Last Revision: 31 March 1993
  5.  
  6. The information in this Technical Note assumes that you are using versions of
  7. Quarterdeck products that are DOS 5 compatible: QEMM-386 ver 6.00 and later,
  8. DESQview 2.40 and later, QRAM 2.0 and later, QEMM-50/60 6.00 and later, and
  9. any version of DESQview/X.
  10.  
  11.  
  12. 1.  Is Microsoft DOS 6 compatible with my Quarterdeck products?
  13.  
  14. Absolutely!  There is nothing in DOS 6 that poses any danger to your system or
  15. the data stored in it due to the use of any Quarterdeck product.  The
  16. Microsoft DOS 6 README.TXT file states, in Section 6.10: "Quarterdeck's QEMM
  17. memory manager is compatible with MS-DOS 6."  In addition, there are no known
  18. incompatibilities between MS DOS 6.0 and Quarterdeck's DESQview or DESQview/X
  19. multitaskers.
  20.  
  21.  
  22. 2. As a QEMM-386 user, what information do I need to install Microsoft DOS 6?
  23.  
  24. As a QEMM-386 user, the most important information that you can take with you
  25. in the installation and configuration of Microsoft DOS 6 is the knowledge that
  26. you are already running the most effective memory management system available
  27. for the IBM-compatible computer.  So, if you are already using QEMM:
  28.  
  29.          a. Run the SETUP program from the DOS 6 installation diskette and
  30.             follow the instructions on the screen.
  31.  
  32.          b. Install any of the new DOS 6 utilities that you desire. DOS 6
  33.             provides you the opportunity to add virus protection and other
  34.             things to your configuration.  Remember: the default installation
  35.             of DOS 6 installs only the MS Windows versions of these utilities;
  36.             you have to tell it to install the DOS versions as well.  This is
  37.             done on the Utilities screen of the SETUP process.
  38.  
  39.          c. Run QEMM's OPTIMIZE to load those drivers into Upper Memory.
  40.  
  41. If you should desire to experiment with Microsoft DOS 6's MemMaker (the
  42. program that attempts to provide more memory), we can recommend a couple of
  43. safeguards.  MemMaker will remove ALL the QEMM-386 commands and configuration
  44. from your CONFIG.SYS and AUTOEXEC.BAT files.  We are confident that you will
  45. want to return to Quarterdeck's QEMM-386, so we urge you to save a copy of
  46. your CONFIG.SYS and AUTOEXEC.BAT files.  Before you begin to experiment, copy
  47. these files from the root directory to some other directory or to floppy
  48. diskette. This will allow you to restore them easily.
  49.  
  50. Next, be aware that even if you save the configuration created by MemMaker,
  51. you can usually reverse its process by running MEMMAKER /UNDO.  If the final
  52. screen of the MemMaker process is NOT a numerical breakdown of how MemMaker
  53. got you more memory (and every test that we've run says it won't be), select
  54. the default exit by pressing the <ENTER> key.  Do NOT press F3 to save the
  55. current MemMaker configuration.
  56.  
  57. It may also be helpful to know that MemMaker does NOT handle CALLed batch
  58. files.  A CALLed batch file is executed with the DOS keyword "CALL".  Doing
  59. this tells DOS that you want the commands in the "CALLed" batch file executed,
  60. and then you want DOS to resume executing the remaining commands in the
  61. current batch file (the AUTOEXEC.BAT in this case).  The significance of this
  62. is that Quarterdeck's Optimize process DOES handle CALLed batch files, loading
  63. any TSR's in those batch files into Upper Memory instead of just ignoring
  64. them.  This means that when MemMaker deletes the QEMM-386 commands from the
  65. AUTOEXEC.BAT and CONFIG.SYS, it leaves them in the Optimized, CALLed batch
  66. files.  These would have to be removed by editing the CALLed batch files and
  67. deleting the LOADHI information.  If NO changes have been made since the last
  68. time that you Optimized your system, you could also run UNOPT.BAT.  UNOPT is a
  69. batch file, created by Optimize, that returns your system to the condition it
  70. was in before the most recent Optimize.  If you have Optimized more than once,
  71. this may not remove the LOADHI information.
  72.  
  73. It is obvious that with the greater selection of features that QEMM-386 and
  74. Optimize possess, MemMaker doesn't stand a chance of making more Upper Memory.
  75. QEMM-386's Stealth feature adds 96K of Upper Memory.  That's 64K better than
  76. MemMaker's best attempt to find unused space in your System BIOS.  Optimize
  77. has the ability, through Quarterdeck's Squeeze technology, to "shoe-horn"
  78. TSR's and device drivers into areas that are large enough for them to reside,
  79. but too small for them to initialize.  Optimize has a "What-If" feature that,
  80. without editing your configuration and re-Optimizing, tells you the results of
  81. rearranging the loading order of your programs and drivers.  None of these are
  82. possible with MemMaker.
  83.  
  84. 3.  Are any of my Quarterdeck products affected by DoubleSpace?
  85.  
  86. The most talked-about feature of Microsoft DOS 6 is DoubleSpace.  DoubleSpace
  87. was designed to be compatible with QEMM-386's Stealth feature.  Disk
  88. compression utilities, including Stacker, XtraDrive, and now DoubleSpace, have
  89. gone to great lengths to be both Stealth- AND Optimize-compatible.
  90.  
  91. DBLSPACE.BIN is the driver that gets loaded so that your system recognizes
  92. your DoubleSpace drive.  It gets loaded by IO.SYS during boot time, BEFORE DOS
  93. has even thought about loading QEMM-386.  It uses about 43K, and when the
  94. CONFIG.SYS has completed, the memory used by the resident portion of
  95. DBLSPACE.BIN appears to be tacked onto the LAST driver loaded in the
  96. CONFIG.SYS.  The best way to use DoubleSpace with QEMM-386 is to make sure you
  97. have a line in your CONFIG.SYS file that reads:
  98.  
  99.          DEVICE=C:\DOS\DBLSPACE.SYS /MOVE  
  100.  
  101. DBLSPACE.SYS has only one purpose, and that is to make DBLSPACE.BIN appear as
  102. a "real" driver, separate in memory.  It gets added at the end of the
  103. CONFIG.SYS with the parameter /MOVE.  DoubleSpace REQUIRES that the
  104. DBLSPACE.SYS driver be loaded in order for any memory manager to load
  105. DBLSPACE.BIN high.
  106.  
  107. At this point all you have to do is run Quarterdeck's OPTIMIZE.  This will
  108. load the 43K DoubleSpace driver into Upper Memory, space permitting.  DESQview
  109. or DESQview/X users should be aware that the DBLSPACE.EXE program cannot be
  110. run from inside of DESQview or DESQview/X.  DBLSPACE.EXE detects the presence
  111. of DESQview and refuses to run.  This program is used mainly for the creation
  112. and maintenance of DoubleSpace drives.
  113.  
  114. Quarterdeck has a program called NODESQ.COM that can be run, in a window,
  115. before a program that detects DESQview.  NODESQ defeats the DESQview detection
  116. of DESQview-aware applications, like DBLSPACE.EXE.  You can add NODESQ.COM
  117. (available from the Quarterdeck BBS) and run DBLSPACE.EXE (as is the case for
  118. most of the DESQview-sensitive DOS 6 programs), but you may run some risk.
  119. You should see that all DoubleSpace drives are mounted before entering any
  120. multitasking environment.  You should not mount drives using DBLSPACE.EXE
  121. inside of DESQview.  This may make working with DoubleSpaced floppies slightly
  122. awkward.
  123.  
  124.  
  125. 4.  How can I restore my QEMM-386 configuration after MemMaker has removed
  126.     QEMM-386 from my CONFIG.SYS and AUTOEXEC.BAT files?
  127.  
  128. Your ability to return to QEMM-386, after running MemMaker, depends on how
  129. long ago you ran it.  The steps that you follow depend on whether you have:
  130. 1. Not yet completed MemMaker 2. Just finished it for the first time 3. Run it
  131. more than once OR have made numerous post-MemMaker changes to your
  132. configuration.
  133.  
  134.  
  135. For the Number 1's (those who have not yet completed MemMaker):
  136.  
  137. When MemMaker completes, and DOESN'T provide a better configuration than the
  138. one you already had, it will tell you "Your computer's memory was optimally
  139. configured before you ran MemMaker".  At this juncture you can press <ENTER>
  140. to restore your original configuration or F3 to save the MemMaker
  141. configuration.  Your choice at this time will be <ENTER>.  Your existing
  142. QEMM-386 configuration will be restored.
  143.  
  144.  
  145. For the Number 2's (those who have just completed MemMaker):
  146.  
  147. Since you have completed the MemMaker process, it has probably become evident
  148. to you that nothing provides more Upper Memory for loading your TSR's and
  149. device drivers than QEMM-386.  Hopefully, you followed our advice and made
  150. copies of your QEMM-386 Optimized CONFIG.SYS and AUTOEXEC.BAT.  You may then
  151. just copy them back.  If you didn't, and MemMaker has completed, there are a
  152. couple ways to recover your configuration.  You should first attempt the
  153. MEMMAKER /UNDO command.  This restores your CONFIG.SYS and AUTOEXEC.BAT files
  154. to the state they were in before the last time you completed MemMaker.
  155.  
  156. However, this might not be possible.  It is not possible if you have deleted
  157. the backup copies of the AUTOEXEC.BAT and CONFIG.SYS files that MemMaker puts
  158. in the same directory as MEMMAKER.EXE.  These files are named AUTOEXEC.UMB and
  159. CONFIG.UMB (and sometimes SYSTEM.UMB; this is a copy of your MS Windows
  160. SYSTEM.INI file).  It is also not possible to restore the QEMM information and
  161. remove all the MemMaker information if you have run MemMaker MORE than ONCE.
  162. This would mean that the *.UMB files created by MemMaker would NOT have the
  163. QEMM information in them, but would still have ONLY MemMaker's options
  164. installed.
  165.  
  166. If for some reason MEMMAKER /UNDO does not restore your QEMM-386
  167. configuration, don't worry.  When you installed DOS 6 by using the SETUP
  168. program, it required you to create an UNINSTALL diskette.  Your original QEMM
  169. configuration was copied to that diskette as the files CONFIG.DAT and
  170. AUTOEXEC.DAT.  You can restore your system (and save the MemMaker
  171. configuration for future reference) from the files found on the DOS 6
  172. UNINSTALL diskette (CONFIG.DAT and AUTOEXEC.DAT) as follows:
  173.  
  174. Place the UNINSTALL diskette in drive A: and type:
  175.  
  176.          C:<enter>
  177.          CD\<enter>
  178.          REN CONFIG.SYS CONFIG.MEM<enter>
  179.          REN AUTOEXEC.BAT AUTOEXEC.MEM<enter>
  180.          COPY A:CONFIG.DAT C:\CONFIG.SYS<enter>
  181.          COPY A:AUTOEXEC.DAT C:\AUTOEXEC.BAT<enter>
  182.  
  183. Your previous QEMM configuration should be restored.  You may now install any
  184. of the MS DOS 6 utilities and then run Quarterdeck's OPTIMIZE.  Your
  185. restoration is now complete.
  186.  
  187.  
  188. For the Number 3's (those who have made further changes after MemMaker):
  189.  
  190. It may not be feasible to run MEMMAKER /UNDO or copy back your configuration
  191. files from the UNINSTALL diskette if you have made extensive changes to your
  192. CONFIG.SYS and AUTOEXEC.BAT files after you have completed MemMaker.  It might
  193. be quicker to follow the next steps than to repeat all the work you have done
  194. in configuring these files.
  195.  
  196. Editing the CONFIG.SYS and AUTOEXEC.BAT:
  197.  
  198. The main objectives in editing the CONFIG.SYS and AUTOEXEC.BAT are to add the
  199. QEMM386.SYS line and to remove the DOS 6 memory management. (You MUST edit the
  200. files with an editor that saves the files in a DOS ASCII format.  Do NOT use
  201. an editor or word processor that saves files in a "document" format, unless
  202. you are aware of how to save them in DOS text or ASCII Text.)
  203.  
  204. If you have done a significant amount of modification to your configuration
  205. AFTER the MemMaker process has been completed, there are a couple of
  206. conditions that have to be remedied.  The first, and foremost, is that
  207. MemMaker removed the QEMM386.SYS line from the CONFIG.SYS file and replaced it
  208. with HIMEM.SYS, EMM386.EXE and DOS=UMB.  The other issue is that MemMaker has
  209. added information to the device driver and TSR-loading lines in the CONFIG.SYS
  210. and AUTOEXEC.BAT.  You will need to replace the DOS 6 memory managers with our
  211. Quarterdeck memory manager and you will need to remove the information from
  212. the device driver and TSR loading lines in the CONFIG.SYS and AUTOEXEC.BAT.
  213.  
  214.  
  215. A.  Adding the QEMM-386 memory manager
  216.  
  217. The addition of the QEMM386.SYS line should be as close to the top of the
  218. CONFIG.SYS file as possible.  There is usually no problem with making this the
  219. first line of the CONFIG.SYS.  If you have a driver for your hard drive
  220. controller or special hard drive partitioner, that line will usually need to
  221. precede the QEMM386.SYS line.  If QEMM-386 was installed in the default
  222. location of C:\QEMM, the line would appear as follows:
  223.  
  224.          DEVICE=C:\QEMM\QEMM386.SYS
  225.  
  226. To remove the DOS 6 memory managers you need to remove three lines from the
  227. CONFIG.SYS.  They will look like the following, assuming you installed DOS in
  228. the C:\DOS subdirectory:
  229.  
  230.          DEVICE=C:\DOS\HIMEM.SYS
  231.          DEVICE=C:\DOS\EMM386.EXE (this may be followed by some parameters)
  232.          DOS=UMB
  233.  
  234. These lines will have to be removed.  The DOS=UMB line may appear as
  235. DOS=HIGH,UMB; you will then only have to remove the ",UMB".
  236.  
  237.  
  238. B. Removing the DOS 6 memory management information
  239.  
  240. The removal of DOS 6's additional memory management information is a little
  241. bit trickier.  You need to remove the MemMaker-added information from the
  242. existing device drivers and TSR's, while not removing the device drivers and
  243. TSR's themselves.  DOS 6's LOADHIGH (or LH as it usually appears in the
  244. AUTOEXEC.BAT) and DEVICEHIGH now support explicit region specification and
  245. driver size specification.  The resulting lines in the CONFIG.SYS may look
  246. something like:
  247.  
  248.          DEVICEHIGH /L:1,9072 =C:\DOS\ANSI.SYS
  249.  
  250. and/or in the AUTOEXEC.BAT:
  251.  
  252.          LH /L:1,15762 C:\DOS\DOSKEY
  253.  
  254. This causes a bit of a problem for Optimize.  For the LH's, Optimize dutifully
  255. strips away the LH (this was all that was required for DOS 5) and attempts to
  256. do:
  257.  
  258.          LOADHI /GS /L:1,15762 C:\DOS\DOSKEY
  259.  
  260. Here /L becomes an "invalid parameter" for LOADHI.COM.  After a failed attempt
  261. to Optimize, you may have lines in the AUTOEXEC.BAT that resemble:
  262.  
  263.          /L:1,15762 C:\DOS\DOSKEY
  264.  
  265. These lines will not load and may cause certain actions to fail, due to that
  266. particular TSR not loading.
  267.  
  268. The DEVICEHIGHs are completely ignored by the Optimize process and either load
  269. low or sometimes load high (if DOS=UMB is present).  You will need to manually
  270. remove the MemMaker information from these lines.  Even though the Optimize
  271. process (since the release of DOS 5) will remove the "HIGH" and "LH" from the
  272. lines, you might as well take out the LH along with the parameters, and the
  273. HIGH from DEVICEHIGH as well as its switches.  The example lines from the
  274. CONFIG.SYS and AUTOEXEC.BAT would then look like:
  275.  
  276. Before editing:   DEVICEHIGH /L:1,9072 =C:\DOS\ANSI.SYS
  277. After editing:    DEVICE=C:\DOS\ANSI.SYS
  278.  
  279. in the CONFIG.SYS and
  280.  
  281. Before editing:   LH /GS /L:1,15762 C:\DOS\DOSKEY
  282. After editing:    C:\DOS\DOSKEY
  283.  
  284. in the AUTOEXEC.BAT.  When you have successfully made these changes, you are
  285. ready to run OPTIMIZE.  After Optimize completes, you will have the best
  286. memory configuration that also encompasses the other improvements that you
  287. have made to your CONFIG.SYS and AUTOEXEC.BAT.
  288.  
  289.  
  290. 5.  Will I have any problems with DESQview or DESQview/X?
  291.  
  292. Very few Microsoft DOS 6 issues confront the DESQview or DESQview/X user.  Any
  293. of the MS-DOS 6 utilities that might, in ANY way, cause a problem when run in
  294. a multitasking environment are DESQview-aware.  These particular programs will
  295. post a message reminding you that you are currently multitasking.  DOS 6 uses
  296. portions of the DESQview API (Application Programming Interface) to detect if
  297. DESQview, or DESQview/X, is running.  There are no problems running these
  298. programs outside of the multitasking environment.
  299.  
  300. Available from Quarterdeck (via BBS, CompuServe, or other standard support
  301. channels), is a program called NODESQ.COM.  If NODESQ is run in the window,
  302. before running a DESQview-aware program, that program will not detect the
  303. presence of DESQview.  You can add NODESQ.COM to a batch file that runs
  304. DBLSPACE.EXE.  You should mount all possible drives before starting DESQview
  305. or DESQview/X.  You should not mount drives using DBLSPACE.EXE inside of
  306. DESQview.  This may make working with DoubleSpaced floppies slightly awkward.
  307.  
  308. VSAFE is the resident program that watches for certain acts of virii and
  309. provides a warning when it finds one.  VSAFE can be loaded in XMS (23K
  310. conventional, 23K XMS) or EMS (6.5K conventional, 64K EMS) before DESQview
  311. loads. If you do this, then you CANNOT ALWAYS pop it up over DESQview.  If you
  312. try, most of the time DESQview will appear to lose control over the keyboard.
  313. The DESQ key will NOT pull up the menu, etc.  This is because VSAFE is up; you
  314. just can't see it.  You have to hit ESC to make it go away.  Then all will
  315. function as normal.  If VSAFE is forced into Conventional memory (44K) it will
  316. pop-up inside of DESQview.  VSAFE cannot be unloaded while inside of DESQview,
  317. if it was loaded before DESQview.
  318.  
  319.  
  320. The DOS 6 Interactive Boot Process
  321.  
  322. DOS 6 now has an "interactive" boot process.  You can program the CONFIG.SYS
  323. to query you, every time the system boots, before loading a particular command
  324. in the CONFIG.SYS.  This is done by adding a "?" to the command before the "="
  325. in the command.  The line: "DOS?=HIGH" would produce the following on the
  326. screen: "DOS=HIGH [Y,N]?" and you can make a choice as to load it or not.
  327. Optimize removes the "?" from any line that is edited by Optimize.  These
  328. include the lines in the CONFIG.SYS that begin with BUFFERS=, DEVICE=, or
  329. INSTALL=.
  330.  
  331. Another feature in the interactive boot process is the ability to build menus
  332. of configurations in the CONFIG.SYS and AUTOEXEC.BAT.  This is accomplished by
  333. building "blocks" in the CONFIG.SYS, and having the name of the block
  334. selection that you make on boot be passed to the AUTOEXEC.BAT as an
  335. environment variable - %config%.  The use of the environment variable, for
  336. IF's and GOTO's, will then process a particular portion of the AUTOEXEC.BAT
  337. file that is appropriate to that portion of the CONFIG.SYS.
  338.  
  339. Multiple configurations (as implemented via the CONFIG.SYS blocks) have to be
  340. MemMakered one configuration at a time.  The DOS 6 documentation discusses the
  341. process of converting your CONFIG.SYS and AUTOEXEC.BAT into multiple copies
  342. and then MemMakering them one-at-a-time. They warn users to avoid [common]
  343. blocks and "first entries" in the AUTOEXEC.BAT.  Since MemMaker is strikingly
  344. similar to the Optimize process (which predates DOS 6 by two (2) years!!) the
  345. same steps need to be followed to Optimize the multiple configurations of MS
  346. DOS 6.
  347.  
  348.  
  349. 6. What else is Quarterdeck doing for DOS 6?
  350.  
  351. Quarterdeck's commitment to adding functionality to DOS, and DOS-based
  352. programs, has kept our products at the forefront of memory management and
  353. multitasking technology.  With each new version of DOS comes an opportunity
  354. for Quarterdeck to design new features and offer the DOS user an even greater
  355. implementation of the world's most widely used operating system.  Rest assured
  356. that Quarterdeck intends to continue this pattern.
  357.  
  358.  
  359.   ************************************************************************
  360.   *This technical note may be copied and distributed freely as long as it*
  361.   *is distributed in its entirety and it is not distributed for profit.  *
  362.   *          Copyright (C) 1993 by Quarterdeck Office Systems            *
  363.   ************************ E N D   O F   F I L E *************************
  364.